﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using SharedLib;
using SharedLib.DataStructure;

namespace Tracy.DataModel
{
    public interface ISourceParser : IPlugin
    {
        event EventHandler<EventArgsGeneric<SourceParserResult>> OnResultFound;
        event EventHandler<EventArgsGeneric<SourceEntryPair>> OnParseCompleted;

        //XmlDocument GetRawResources(FeedSource source, XmlDocument doc);

        void Parse(FeedSource source, Entry entry);
    }
}
